package {
	import com.greensock.TweenMax;
	
	import flash.display.MovieClip;
	import flash.events.MouseEvent;

	public class Circle {
		
		protected var _view:MovieClip;
		
		public function Circle(view:MovieClip) {
			_view = view;
			view.buttonMode = true;
			view.mouseChildren = false;
			view.addEventListener(MouseEvent.ROLL_OVER, onRollOver, false, 0, true);
			view.addEventListener(MouseEvent.ROLL_OUT, onRollOut, false, 0, true);
		}
			
		protected function onRollOver(e:MouseEvent):void {
			//TweenMax.to(_view, .4 , {glowFilter:{color:0xFFFFFF, alpha:1, blurX:60, blurY:60}});
		}
		
		protected function onRollOut(e:MouseEvent):void {
			//TweenMax.to(_view, .4 , {glowFilter:{color:0xFFFFFF, alpha:0, blurX:10, blurY:10}});
		}
		
		public function get view():MovieClip {
			return _view;
		}
	}
}